home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / standard / libfastm.z / libfastm
Encoding:
Text File  |  1998-10-30  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. LLLLIIIIBBBBFFFFAAAASSSSTTTTMMMM((((3333MMMM))))                                                      LLLLIIIIBBBBFFFFAAAASSSSTTTTMMMM((((3333MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      libfastm - fast transcendental library
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<mmmmaaaatttthhhh....hhhh>>>>
  13.      libfastm.a contains various hand-coded routines
  14.      tuned to the specific architecture of the system.
  15.      Currently, on MIPS 1 systems libfastm.a contains
  16.      only routines sqrt and fsqrt.  On MIPS 2 systems
  17.      libfastm.a contains routines sqrt and fsqrt,
  18.      which are identical to those in libm.a .
  19.      (Hardware square root instructions exist on MIPS 2
  20.      and later architectures.)
  21.  
  22.      On MIPS 4 systems, libfastm.a also contains the
  23.      following routines: sin, cos, tan, atan2, exp, log,
  24.      pow, sinf, cosf, tanf, expf, logf, and powf.
  25.  
  26.  
  27. LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNNSSSS::::
  28.      On MIPS 4 systems, routines in libfastm.a must be run in round to nearest
  29.      rounding mode to give correct results.  This is the default rounding
  30.      mode.
  31.  
  32.      Routines in this library do not set global errno, and may not give
  33.      correct results for NaNs and Infinities.
  34.  
  35.      Routines sin, cos, and tan give accurate results for arguments between
  36.      +-2**22 radians.
  37.  
  38.      Routines sinf, cosf, and tanf give accurate results for arguments between
  39.      +/-2**15 radians.  Precision may be lost near multiples of pi/2 for these
  40.      three routines.
  41.  
  42.      Routines sin, cos, tan, and atan2 should be run with underflow and
  43.      overflow floating point traps disabled (the default mode) to avoid
  44.      trapping in these routines.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.